package com.honeycomb.utils;

/**
 * 系统常量
 * 
 * @author Wangyu
 */
public class SystemConstants {

	// 时间常量
	public static final String HoneyComb_Date_Pattern_Normal = "yyyy-MM-dd HH:mm:ss";
	public static final String HoneyComb_Date_Pattern_Short = "yyyy-MM-dd";

	// 验证登陆的过滤地址
	public static final String Login_URL_Validation = "";

	// JSON返回结果
	public static final int AJAX_SUCCESS = 0;				//成功
	public static final int AJAX_FAILED_ALERT = 1;			//普通异常，返回不进行跳转
	public static final int AJAX_FAILED_REDIRECT = 2;		//特殊异常，返回后，要重定向
	public static final int AJAX_FAILED_LOGIN = 999;		//没有登录的异常
 

	//用户登录Session名
	public static final String HoneyComb_LoginUser_Session_Name = "HoneyCombLoginUserSessionName";
	
	//默认头像路径
	public static final String HoneyComb_Default_Head_Img = "images/default/default_head_img.gif";
	
	//上传临时文件夹
	public static final String HoneyComb_Default_Upload_Temp_Folder = "upload/temp/";
	
	//分页
	public static final int PAGING_FOR_MAP_OF_ARTICLE_PAGE_CNT = 6;	//根据地图指定点，查询范围内的文章，的分页
	
	//默认获取最大值
	public static int TAG_QUERY_HOT_LIST_DEFAULT_CNT = 5; //获得热门标签的默认数量
	public static int TAG_ADD_DEFAULT_MAX_CNT = 5; //自定义添加标签的最大值
	
	
	
	public static int TAG_CREATE_CNT = 1;	//标签初始化Cnt
	public static int TAG_CREATE_SEQ = 0;	//标签初始化Seq
	
	public static short ARTICLE_STATUS_NORMAL = 1;		//Article Status 正常
	public static short ARTICLE_STATUS_NOT_NORMAL = 2;	//Article Status 禁用

	public static int ARTICLE_CREATE_VISIT_CNT = 0;	//Article 初始化访问数
	public static int ARTICLE_CREATE_REPLY_CNT = 0; //Article 初始化回复数
	
	public static int ARTICLE_CREATE_SEQ = 0;	//Article 初始化优先级
	

	
	
}





